<template>
	<view>
		<cu-custom bgColor="bg-gradual-blue" :isBack="true">
			<block slot="content">影视</block>
		</cu-custom>
		<web-view :src="url" class="webview"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		onLoad(option) {
			this.url = option.url
			console.log(this.url)

			var pages = getCurrentPages();
			var page = pages[pages.length - 1];
			console.log(pages, page,123)
			var currentWebview = page.$getAppWebview();
			console.log(pages, page, currentWebview,1234)
		},
		methods: {

		}
	}
</script>

<style>
	/* 	.webview{
		width: 100%;
		height: 100%;
		overflow-x: hidden;
	} */
	.webview::-webkit-scrollbar {
		width: 4px;
	}
</style>
